package de.karlNet.sambamanager.ldapModel;

import java.util.ArrayList;
import java.util.List;

public class LdapDomainController extends LdapObject {
	private String dnsName;
	private String operatingSystem;
	private String operatingSystemVersion;
	private List<FSMORoles> fsmoRoles = new ArrayList<FSMORoles>();

	public List<FSMORoles> getFsmoRoles() {
		return fsmoRoles;
	}

	public LdapDomainController() {

	}

	public LdapDomainController(String dn, String cn, String operatingSystem,
			String operatingSystemVersion, String dnsName) {
		super(cn, dn);
		this.operatingSystem = operatingSystem;
		this.operatingSystemVersion = operatingSystemVersion;
		this.dnsName = dnsName;
	}

	public String getDnsName() {
		return dnsName;
	}

	public String getOperatingSystem() {
		return operatingSystem;
	}

	public String getOperatingSystemVersion() {
		return operatingSystemVersion;
	}

	@Override
	public void isType(ITypeCheckerCallback typeCheckerCallback) {
		typeCheckerCallback.isLdapDomainController();
		typeCheckerCallback.isLdapDomainController(this);
	}

	public void setDnsName(String dnsName) {
		this.dnsName = dnsName;
	}

	public void setOperatingSystem(String operatingSystem) {
		this.operatingSystem = operatingSystem;
	}

	public void setOperatingSystemVersion(String operatingSystemVersion) {
		this.operatingSystemVersion = operatingSystemVersion;
	}

}
